package com.ewzj.bigdata.mvp.model.entity.resbean;

import java.util.List;

/**
 * Author:zhangjing
 * Time:2018/3/21  下午3:59
 * Name: this is CommentBean
 * Email:zhangjingworkmol@163.com
 */

public class CommentBean {

    /**
     * id : 2
     * content : 评论内容
     * from_user_id : 1
     * from_user_name : 红色的苹果
     * time : 15:33
     * praise_num : 0
     * list : [{"id":0,"from_user_id":0,"from_user_name":"夏目","content":"说的好","time":null,"to_user_id":0,"to_user_name":"红色的苹果","is_praise":false,"praise_num":0},{"id":0,"from_user_id":0,"from_user_name":"张三","content":"说的好","time":null,"to_user_id":0,"to_user_name":"夏目","is_praise":false,"praise_num":0},{"id":0,"from_user_id":0,"from_user_name":"李四","content":"哈哈哈","time":null,"to_user_id":0,"to_user_name":"夏目","is_praise":false,"praise_num":0}]
     */

    private int id;
    private String content;
    private int from_user_id;
    private String from_user_name;
    private String time;
    private String headimg;
    private int praise_num;
    private int comment_num;
    private List<ListEntity> list;
    private int commentLineNum =2;
    private boolean is_praise;

    public boolean isIs_praise() {
        return is_praise;
    }

    public void setIs_praise(boolean is_praise) {
        this.is_praise = is_praise;
    }

    public int getCommentLineNum() {
        return commentLineNum;
    }

    public void setCommentLineNum(int commentLineNum) {
        this.commentLineNum = commentLineNum;
    }

    public int getComment_num() {
        return comment_num;
    }

    public void setComment_num(int comment_num) {
        this.comment_num = comment_num;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getFrom_user_id() {
        return from_user_id;
    }

    public void setFrom_user_id(int from_user_id) {
        this.from_user_id = from_user_id;
    }

    public String getFrom_user_name() {
        return from_user_name;
    }

    public void setFrom_user_name(String from_user_name) {
        this.from_user_name = from_user_name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getPraise_num() {
        return praise_num;
    }

    public void setPraise_num(int praise_num) {
        this.praise_num = praise_num;
    }

    public List<ListEntity> getList() {
        return list;
    }

    public void setList(List<ListEntity> list) {
        this.list = list;
    }

    public static class ListEntity {
        /**
         * id : 0
         * from_user_id : 0
         * from_user_name : 夏目
         * content : 说的好
         * time : null
         * to_user_id : 0
         * to_user_name : 红色的苹果
         * is_praise : false
         * praise_num : 0
         */

        private int id;
        private int from_user_id;
        private String from_user_name;
        private String content;
        private Object time;
        private int to_user_id;
        private String to_user_name;
        private boolean is_praise;
        private int praise_num;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getFrom_user_id() {
            return from_user_id;
        }

        public void setFrom_user_id(int from_user_id) {
            this.from_user_id = from_user_id;
        }

        public String getFrom_user_name() {
            return from_user_name;
        }

        public void setFrom_user_name(String from_user_name) {
            this.from_user_name = from_user_name;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Object getTime() {
            return time;
        }

        public void setTime(Object time) {
            this.time = time;
        }

        public int getTo_user_id() {
            return to_user_id;
        }

        public void setTo_user_id(int to_user_id) {
            this.to_user_id = to_user_id;
        }

        public String getTo_user_name() {
            return to_user_name;
        }

        public void setTo_user_name(String to_user_name) {
            this.to_user_name = to_user_name;
        }

        public boolean isIs_praise() {
            return is_praise;
        }

        public void setIs_praise(boolean is_praise) {
            this.is_praise = is_praise;
        }

        public int getPraise_num() {
            return praise_num;
        }

        public void setPraise_num(int praise_num) {
            this.praise_num = praise_num;
        }
    }
}
